﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Extjs_ReGSharp.Criteria
{
	internal class BoolEqualsCriteria<T> : BaseCriteria<T, bool>
	{
		public BoolEqualsCriteria(string field, bool value)
			: base(field, value)
		{

		}

		protected override bool IsValid(bool instanceValue)
		{
			return instanceValue == CriteriaValue;
		}
	}
}
